import 'package:flutter_model_package/parse_base.dart';
import 'package:parse_server_sdk/parse_server_sdk.dart';

import 'Member.dart';

class StudentGuardian extends MSParseBase {
  StudentGuardian() : super("StudentGuardian");
  StudentGuardian.cloe() : this();

  @override
  StudentGuardian clone(Map<String, dynamic> map) => StudentGuardian.cloe()..fromJson(map);

  QueryBuilder<StudentGuardian> queryByMember(Member member){
    return QueryBuilder(this)..whereEqualTo("member", member)..includeObject(["job"]);
  }
}